#!/bin/bash

## remove temp-files from previous run
rm genetic/qvdata/*.txt
rm genetic/qvdata/genes/*.ini
rm genetic/qvbotfiles/bots/*-*.c

## reset all bot alias entries in bots.txt
cp genetic/qvscripts/botsorg.txt genetic/qvscripts/bots.txt


# Make sure things run:
if [ -e $HOME/lib/openal.so.0 ]
then
    LD_LIBRARY_PATH=$HOME/lib
fi

./ioquake3.i386 +set sv_pure 0 +set vm_game 0 +set vm_ui 0 +set fs_game genetic
